package com.link.base.ext.autocfg.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;

public class AutoCfgItem extends BasicModel {

    private Long headId;                /*头ID*/
    private String displayName;            /*显示名称*/
    private String name;                /*名称*/
    private String type;                /*页面类型*/
    private Double length;                /*长度*/
    private String lovType;                /*值列表类型*/
    private String required;            /*是否必填*/
    private String readOnly;            /*是否只读*/
    private String comments;            /*备注*/
    private String columnName;            /*列名*/
    private String extFlag;                /*扩展表字段*/
    private String active;                /*是否激活*/
    private String headCode;
    private Double seq;
    private String useKeyFilterFlag;    /*是否使用快速筛选*/
    private String standardFieldFlag;   /*是否标准字段*/
    private String reservedFieldFlag; /*是否预留字段 */
    private Long basicId; /* 基础记录id */
    private String width;
    private String joinFlag;   /*是否可见*/
    private String frozenFlag; /* 是否冻结*/
    private String validateType; /*验证类型 */
    private String confFlag; /* 是否可配置 */

    private String confType;          /*配置类型*/
    private String formatter;           /*格式化函数*/
    private String placeholder;         /*提示信息*/
    private String buttonConfirmFlag;   /*按钮是否确认*/
    private String linkField1;          /*关联字段1*/
    private String linkField2;

    private Long parentStandardBasicId;
    /**
     * 父对象的标准源id
     */
    private Long parentBasicId;
    /**
     * 父对象源ID
     */
    private String parentConfType;            /*父对象配置类型*/

    private Boolean joinSubFlag;
    private List<AutoCfgItemSub> subList;


    public final String[] stayFields =
        {"displayName", "name", "type", "length", "lovType", "required",
        "readOnly", "comments", "extFlag", "active", "seq",
        "useKeyFilterFlag", "standardFieldFlag", "reservedFieldFlag",
        "basicId", "width", "frozenFlag",
        "validateType", "confType", "formatter", "placeholder",
        "buttonConfirmFlag", "linkField1", "linkField2"};


    public Boolean getJoinSubFlag() {
        return joinSubFlag;
    }

    public void setJoinSubFlag(Boolean joinSubFlag) {
        this.joinSubFlag = joinSubFlag;
    }

    public List<AutoCfgItemSub> getSubList() {
        return subList;
    }

    public void setSubList(List<AutoCfgItemSub> subList) {
        this.subList = subList;
    }

    public String getParentConfType() {
        return parentConfType;
    }

    public void setParentConfType(String parentConfType) {
        this.parentConfType = parentConfType;
    }

    public String getConfType() {
        return confType;
    }

    public void setConfType(String confType) {
        this.confType = confType;
    }

    public String getFormatter() {
        return formatter;
    }

    public void setFormatter(String formatter) {
        this.formatter = formatter;
    }

    public String getPlaceholder() {
        return placeholder;
    }

    public void setPlaceholder(String placeholder) {
        this.placeholder = placeholder;
    }

    public String getButtonConfirmFlag() {
        return buttonConfirmFlag;
    }

    public void setButtonConfirmFlag(String buttonConfirmFlag) {
        this.buttonConfirmFlag = buttonConfirmFlag;
    }

    public String getLinkField1() {
        return linkField1;
    }

    public void setLinkField1(String linkField1) {
        this.linkField1 = linkField1;
    }

    public String getLinkField2() {
        return linkField2;
    }

    public void setLinkField2(String linkField2) {
        this.linkField2 = linkField2;
    }

    public Long getParentStandardBasicId() {
        return parentStandardBasicId;
    }

    public void setParentStandardBasicId(Long parentStandardBasicId) {
        this.parentStandardBasicId = parentStandardBasicId;
    }

    public Long getParentBasicId() {
        return parentBasicId;
    }

    public void setParentBasicId(Long parentBasicId) {
        this.parentBasicId = parentBasicId;
    }

    public String getConfFlag() {
        return confFlag;
    }

    public void setConfFlag(String confFlag) {
        this.confFlag = confFlag;
    }

    public String getValidateType() {
        return validateType;
    }

    public void setValidateType(String validateType) {
        this.validateType = validateType;
    }

    public String getJoinFlag() {
        return joinFlag;
    }

    public void setJoinFlag(String joinFlag) {
        this.joinFlag = joinFlag;
    }

    public String getFrozenFlag() {
        return frozenFlag;
    }

    public void setFrozenFlag(String frozenFlag) {
        this.frozenFlag = frozenFlag;
    }

    public Double getLength() {
        return length;
    }

    public void setLength(Double length) {
        this.length = length;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public Long getBasicId() {
        return basicId;
    }

    public void setBasicId(Long basicId) {
        this.basicId = basicId;
    }

    public String getUseKeyFilterFlag() {
        return useKeyFilterFlag;
    }

    public void setUseKeyFilterFlag(String useKeyFilterFlag) {
        this.useKeyFilterFlag = useKeyFilterFlag;
    }

    public String getStandardFieldFlag() {
        return standardFieldFlag;
    }

    public void setStandardFieldFlag(String standardFieldFlag) {
        this.standardFieldFlag = standardFieldFlag;
    }

    public String getReservedFieldFlag() {
        return reservedFieldFlag;
    }

    public void setReservedFieldFlag(String reservedFieldFlag) {
        this.reservedFieldFlag = reservedFieldFlag;
    }

    public Double getSeq() {
        return seq;
    }

    public void setSeq(Double seq) {
        this.seq = seq;
    }

    public String getHeadCode() {
        return headCode;
    }

    public void setHeadCode(String headCode) {
        this.headCode = headCode;
    }

    public Long getHeadId() {
        return headId;
    }

    public void setHeadId(Long headId) {
        this.headId = headId;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLovType() {
        return lovType;
    }

    public void setLovType(String lovType) {
        this.lovType = lovType;
    }

    public String getRequired() {
        return required;
    }

    public void setRequired(String required) {
        this.required = required;
    }

    public String getReadOnly() {
        return readOnly;
    }

    public void setReadOnly(String readOnly) {
        this.readOnly = readOnly;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getExtFlag() {
        return extFlag;
    }

    public void setExtFlag(String extFlag) {
        this.extFlag = extFlag;
    }

    public String getActive() {
        return active;
    }

    public void setActive(String active) {
        this.active = active;
    }


}
